在本地跑GroundingDINO代码(github)首先down下来代码:gitclonehttps://github.com/IDEA-Research/GroundingDINO.git然后跟着readme走,先下载预训练参数放到./weight文件夹:mkdirweightscdweightswget-qhttps://github.com/IDEA-Research/GroundingDINO/releases/download/v0.1.0-alpha/groundingdino_swint_ogc.pth然后新开一个py文件,复制readme上的代码运行:fromgroundin